linuxfsutil: Pass int to ioctl, not long
authorColin Walters <walters@verbum.org>
Fri, 21 Aug 2020 17:40:41 +0000 (17:40 +0000)
committerColin Walters <walters@verbum.org>
Fri, 21 Aug 2020 17:41:32 +0000 (17:41 +0000)
commit06ed04a816141914adb9bd3e32392801fce5bc8e
tree39e5d5c9562bcabb3c22a89a8fc44c499fc8f6c2
parentc61ff03304907c944c3ba97cad0d67a65ada57bd
linuxfsutil: Pass int to ioctl, not long

Otherwise it will fail on big-endian architectures like s390x.
Ref https://bugzilla.redhat.com/show_bug.cgi?id=1867601
src/libostree/ostree-linuxfsutil.c